{% extends "park/base.html" %}

{% block css %}
{% endblock %}

{% block content %}

            <script type="text/javascript">
            var primary_menu = "menu_1";
            var sub_menu = "menu_1_1";
            </script>
            <div class="col-md-12">
                <!-- <div class="panel panel-primary">
                    <div class="panel-heading">
                        <div class="panel-title"><h3>周边水和大气环境保护目标信息</h3></div>
                    </div>
                </div> -->
                <h3 class="company-name">{{name}}</h3>
                <div class="panel panel-primary">
                    <div class="panel-heading">
                        <div class="panel-title"><h3>一、水环境保护目标信息</h3></div>
                        <div class="panel-options">
                            <a href="#" data-rel="collapse"><i class="entypo-down-open"></i></a>
                            <!--<a href="#" data-rel="reload"><i class="entypo-arrows-ccw"></i></a>-->
                        </div>
                        <div class="stay_right">
                        </div>
                    </div>
                    <div class="panel-body with-table">

                    <form>
                    <table class="table table-bordered table-responsive">
                    <tr>
                        <th colspan=2>周边是否存在水环境保护目标</th>
                        {%if water.water_exist%}
                        <td colspan=4>是 </td>
                        {%else%}
                        <td colspan=4>否</td>
                        {% endif %}
                    </tr>
                    <tr>
                        <th>序号</th>
                        <th colspan=2 class="show_border_left">水环境保护目标名称</th>
                        <th class="show_border_left">类型代码</th>
                        <th class="show_border_left">规模</th>
                        <th class="show_border_left">距企业距离（米）</th>
                    </tr>
                    {%if wdetails%}
                    {%for detail in wdetails%}
                    <tr>
                        <td>{{forloop.counter}}</td>
                        <td colspan=2 class="show_border_left">{{detail.water_name}}</td>
                        <td class="show_border_left">{{detail.water_code}}</td>
                        <td class="show_border_left">{{detail.water_scale}}</td>
                        <td class="show_border_left">{{detail.water_distance}}</td>
                    </tr>
                    {% endfor %}
                    {% endif %}
                    <tr>
                        <td>备注</td>
                        <td colspan=5 class="show_border_left">{{water.water_remark}}</td>
                    </tr>
                    </table>

                    </form>
                    </div>
                </div>
                <div class="panel panel-primary">
                    <div class="panel-heading">
                        <div class="panel-title"><h3>二、大气环境保护目标信息</h3></div>
                        <div class="panel-options">
                            <a href="#" data-rel="collapse"><i class="entypo-down-open"></i></a>
                            <!--<a href="#" data-rel="reload"><i class="entypo-arrows-ccw"></i></a>-->
                        </div>
                        <div class="stay_right">
                        </div>
                    </div>
                    <div class="panel-body with-table">

                        <form>
                            <table class="table table-bordered table-responsive">
                                <tr style="border-top:1px solid #e5e5e5;">
                                    <th colspan=2>环境空气功能区分类</th>
                                     {%if gas.gas_specie == 1%}
                                    <td>一类区 </td>
                                    {%else%}
                                    <td>二类区</td>
                                    {% endif %}
                                    <th colspan=2  class="show_border_left">周边是否存在大气环境保护目标</th>
                                    {%if gas.gas_exist%}
                                    <td>是</td>
                                    {%else%}
                                     <td>否</td>
                                     {% endif %}
                                </tr>
                                <tr>
                                    <th>序号</th>
                                    <th colspan=2 class="show_border_left">大气环境保护目标名称</th>
                                    <th class="show_border_left">类型代码</th>
                                    <th class="show_border_left">规模</th>
                                    <th class="show_border_left">距企业距离（米）</th>
                                </tr>
                                {%if gdetails%}
                    			{%for detail in gdetails%}
                                <tr>
                                    <td>1</td>
                                    <td colspan=2 class="show_border_left">{{detail.gas_name}}</td>
                                    <td class="show_border_left">{{detail.gas_code}}</td>
                                    <td class="show_border_left">{{detail.gas_scale}}</td>
                                    <td class="show_border_left">{{detail.gas_distance}}</td>
                                </tr>
                                {% endfor %}
                    			{% endif %}
                                <tr>
                                    <td>备注</td>
                                    <td colspan=5 class="show_border_left">{{gas.gas_remark}}</td>
                                </tr>
                            </table>

                        </form>
                    </div>
                </div>
            </div>


{% endblock %}

{% block js %}
{% endblock %}